package com.bwie.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.common.domain.RedPacket;
import com.bwie.common.domain.request.RedPacketAdd;
import com.bwie.common.domain.request.RedPacketReqList;
import com.bwie.common.domain.response.RedPacketVo;
import com.bwie.common.result.Result;

import java.util.List;

/**
 * @Author Junchen_N1
 * @Date 2025/6/17 13:47
 * @ClassName RedPacketService
 * @Description TODO
 */
public interface RedPacketService extends IService<RedPacket> {
    Result<List<RedPacketVo>> selectRedPacketList(RedPacketReqList redPacketReqList);

    void addRedPacket(RedPacketAdd redPacketAdd);

    List<RedPacket> selectAllWhereStatusIs0();

    void snatchRedPacket(Integer redPacketId);
}
